//
//  OperateResultViewController.m
//  TenMinDemo
//
//  Created by Shawn Li on 2021/3/8.
//  Copyright © 2021 CYXiang. All rights reserved.
//

#import "OperateResultViewController.h"

@interface OperateResultViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *icon;
@property (weak, nonatomic) IBOutlet UILabel *optTitle;
@property (weak, nonatomic) IBOutlet UILabel *optSubTitle;

@end

@implementation OperateResultViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)setupUI{
    [super setupUI];
    if (self.type == 1) { //转出
        self.icon.image = [UIImage imageNamed:@"opt_cg"];
        self.optTitle.text = LCLocalString(@"zcqqytj");
        self.optSubTitle.text = LCLocalString(@"qgzndzhdt");
    }
}
- (IBAction)doneAction:(id)sender {
    if (self.popTarget) {
        [self.navigationController popToViewController:self.popTarget animated:YES];
    }else{
        [self.navigationController popViewControllerAnimated:YES];
    }
}


@end
